<template>
  <div class="bank">
    <div class="flex justify_between align_center">
      <div
        class="underline"
        style="width:120px;"
      >
        <span class="title1 color1 zIndex fontBold">银行转账</span>
      </div>
      <div
        class="customer flex justify_center align_center"
        @click="show = true"
      >
        <svg
          class="icon"
          aria-hidden="true"
        >
          <use xlink:href="#icon-lianxiwomen" />
        </svg>
        <span class="font400 content3">联系我们</span>
      </div>
    </div>
    <div class="login_content">
      <div class="content">
        <div class="contentInfo">
          <div class="contentInfoBox flex justify_between flex_column">
            <p class="font400 content3 color3">
              活动 / 城市更新专业委员会政策研讨会
            </p>
            <p class="font400 content2 color6">
              2020-08-01 12:23:42
            </p>
          </div>
        </div>
        <div class="signNum flex justify_between align_center">
          <p class="font400 content3 color3 flex align_center">
            <svg
              class="icon"
              aria-hidden="true"
            >
              <use xlink:href="#icon-jifenzhongxin" />
            </svg>
            积分
          </p>
          <p class="font400 color6 content3">
            20
          </p>
        </div>
        <div class="Membership">
          <div class="MembershipBox">
            <div class="MembershipBoxHeader flex justify_between align_center">
              <p class="font400 content3 color3">
                待支付：
              </p>
              <p class="content4 color2 font400">
                ￥15000.00
              </p>
            </div>
            <div class="MembershipContent">
              <p class="font400 content3 color3">
                订单已生成，请将费用转入指定银行账户,并复制备注信息，填写在转账备注中。耐心等待工作人员审核。
              </p>
            </div>
            <div class="MembershipInfo">
              <p>
                <span class="font400 content3 color2">户名:</span>
                <span class="font400 content3 color6">深圳市房地产协会</span>
              </p>
              <p>
                <span class="font400 content3 color2">汇款账号:</span>
                <span class="font400 content3 color6">231454674797941</span>
              </p>
              <p>
                <span class="font400 content3 color2">银行:</span>
                <span class="font400 content3 color6">交通银行</span>
              </p>
              <p>
                <span class="font400 content3 color2">备注信息:</span>
                <span class="font400 content3 color6 line20">万科企业股份有限公司/城市更新专业委员会政策研讨会</span>
              </p>
            </div>
            <div class="copy font400 color4 content2">
              复制
            </div>
          </div>
        </div>
        <p class="understand content3 font400 color3">
          遇到问题？联系我们寻求帮助
        </p>
      </div>
    </div>
  </div>
  <div class="fexd_footer">
    <div class="footer_btn flex align_center justify_between">
      <div class="flex align_center">
        <div
          @click="submit"
          class="agree font400 content3 color4"
        >
          确认
        </div>
      </div>
    </div>
  </div>
  <van-dialog
    v-model:show="show"
    title="温馨提示"
    confirm-button-color="#FF7A1F"
  >
    <div class="Scan">
      <p class="font400 content3 color3">
        您可长按添加工作人员微信 与我们取得联系
      </p>
      <img src="@/assets/img/no-content-color.png">
    </div>
  </van-dialog>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { useRouter } from 'vue-router'
// import { useStore } from 'vuex'
const router = useRouter()
const show: any = ref(false)
// const store = useStore()

// const back = () => {
//   if (store.state.from.path !== '/') {
//     router.back()
//   } else {
//     router.replace('/')
//   }
// }

const submit = () => {
  router.back()
}

</script>

<style lang="less" scoped>
.bank {
  padding: 0 30px 80px;
  margin-top: 40px;
  .customer {
    width: 93px;
    height: 32px;
    border: 1px solid #ff7a1f;
    border-radius: 5px;
    width: 111px;
    line-height: 32px;
    text-align: center;
    .icon {
      width: 22px;
      height: 22px;
    }
    span {
      margin-left: 4px;
      color: #ff7a1f;
    }
  }
  .login_content {
    margin-top: 20px;
    .contentInfo {
      width: 100%;
      background: #fff;
      border-radius: 10px;
      margin: 20px 0;
      .contentInfoBox {
        padding: 15px;
        p:last-child {
          margin-top: 25px;
        }
      }
    }
    .signNum {
      background: #fff;
      padding: 15px;
      border-radius: 5px;
      margin-bottom: 20px;
      .icon {
        width: 17px;
        height: 17px;
        margin-right: 7px;
      }
    }
  }
  .understand {
    margin-top: 20px;
    text-align: center;
    text-decoration: underline;
  }
  .Membership {
    width: 100%;
    background: #ffffff;
    border-radius: 5px;
    .MembershipBox {
      padding: 15px;
    }
    .MembershipContent {
      margin-top: 20px;
      margin-bottom: 26px;
      p {
        line-height: 20px;
      }
      p:last-child {
        margin-top: 20px;
      }
    }
    .MembershipInfo {
      margin-bottom: 20px;
      p {
        margin-bottom: 5px;
        span:last-child {
          margin-left: 5px;
        }
      }
    }
    .copy {
      width: 82px;
      height: 30px;
      background: #12142e;
      border-radius: 5px;
      text-align: center;
      line-height: 30px;
    }
  }
}
 .Scan {
    p {
      width: 190px;
      margin: 18px auto;
      text-align: center;
      line-height: 20px;
    }
    img {
      width: 95px;
      height: 95px;
      object-fit: contain;
      margin: 0 auto;
    }
  }
.fexd_footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: #fff;
  box-shadow: 0px 2px 12px 2px rgba(22, 12, 6, 0.09);
  .footer_btn {
    padding: 0 30px;
    height: 100%;
    text-align: center;
    .agree {
      width: 315px;
      height: 44px;
      background: #ff7a1f;
      border-radius: 5px;
      text-align: center;
      line-height: 44px;
    }
  }
}
@media (min-width: 750px) {
  .bank {
  padding: 0 30px 80px;
  margin-top: 40px;
  .customer {
    width: 93px;
    height: 32px;
    border: 1px solid #ff7a1f;
    border-radius: 5px;
    width: 111px;
    line-height: 32px;
    text-align: center;
    .icon {
      width: 22px;
      height: 22px;
    }
    span {
      margin-left: 4px;
      color: #ff7a1f;
    }
  }
  .login_content {
    margin-top: 20px;
    .contentInfo {
      width: 100%;
      background: #fff;
      border-radius: 10px;
      margin: 20px 0;
      .contentInfoBox {
        padding: 15px;
        p:last-child {
          margin-top: 25px;
        }
      }
    }
    .signNum {
      background: #fff;
      padding: 15px;
      border-radius: 5px;
      margin-bottom: 20px;
      .icon {
        width: 17px;
        height: 17px;
        margin-right: 7px;
      }
    }
  }
  .understand {
    margin-top: 20px;
    text-align: center;
    text-decoration: underline;
  }
  .Membership {
    width: 100%;
    background: #ffffff;
    border-radius: 5px;
    .MembershipBox {
      padding: 15px;
    }
    .MembershipContent {
      margin-top: 20px;
      margin-bottom: 26px;
      p {
        line-height: 20px;
      }
      p:last-child {
        margin-top: 20px;
      }
    }
    .MembershipInfo {
      margin-bottom: 20px;
      p {
        margin-bottom: 5px;
        span:last-child {
          margin-left: 5px;
        }
      }
    }
    .copy {
      width: 82px;
      height: 30px;
      background: #12142e;
      border-radius: 5px;
      text-align: center;
      line-height: 30px;
    }
  }
}
 .Scan {
    p {
      width: 190px;
      margin: 18px auto;
      text-align: center;
      line-height: 20px;
    }
    img {
      width: 95px;
      height: 95px;
      object-fit: contain;
      margin: 0 auto;
    }
  }
.fexd_footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: #fff;
  box-shadow: 0px 2px 12px 2px rgba(22, 12, 6, 0.09);
  .footer_btn {
    padding: 0 30px;
    height: 100%;
    text-align: center;
    .agree {
      width: 315px;
      height: 44px;
      background: #ff7a1f;
      border-radius: 5px;
      text-align: center;
      line-height: 44px;
    }
  }
}
}
</style>
